Liferay.Service.register("Liferay.Service.bikepony", "com.mad.bikepony.service", "BikePony-portlet");

Liferay.Service.registerClass(
	Liferay.Service.bikepony, "Agent",
	{
		updatePosition: true,
		loginAgent: true,
		logoffAgent: true,
		verifypickupAgent: true,
		verifydeliveryAgent: true,
		submitsignatureAgent: true
	}
);

Liferay.Service.registerClass(
	Liferay.Service.bikepony, "Delivery",
	{
		searchDeliveryByTrackingCode: true
	}
);